.main-container {
    height: 100%;
    background: #ECECEC;
    padding: 10px 15px;

    .left-panel {
        width: 220px;
        .tree-content {
            margin-top: 10px;
            height: calc(100vh - 202px);
            background: #fff;
            overflow-y: auto;
        }
        .left-card {
            .radio-container {
                &:not(:first-child) {
                    margin-top: 10px;
                }
                ::ng-deep .ant-radio-group {
                    display: block;
                }
                label {
                    width: 50%;
                    text-align: center;
                }
                ::ng-deep .checkbox-group {
                    width: 100%;
                    display: flex;
                    label {
                        flex: 1;
                    }
                    .ant-checkbox.ant-checkbox-checked + span {
                        color: rgba(26, 124, 238);
                    }
                }
            }
            ::ng-deep .ant-card-head {
                min-height: 30px;
                padding: 0 10px;
                font-weight: bold;
                font-size: 14px;
                background: #e2edff;
                color: rgba(26, 124, 238);
                border-bottom: 1px solid #e8e8e8;
                border-radius: 2px 2px 0 0;
                .ant-card-head-title {
                    padding: 8px 0;
                }
            }
            ::ng-deep .ant-tree li.ant-tree-treenode-selected {
                color: rgba(26, 124, 238, 0.8);
                font-weight: bold;
            }
            ::ng-deep .ant-tree-treenode-switcher-open > span {
                color: rgba(26, 124, 238);
            }

            &:not(:first-child) {
                margin-top: 10px;
            }
            ::ng-deep nz-tree-node > li > span:nth-child(2) {
                width: 164px;
                display: inline-block;
                padding: 0 10px;
                line-height: 24px;
                background: #f6f9ff;
                cursor: pointer;
            }
            ::ng-deep ul.ant-tree-child-tree li > span {
                width: auto;
                display: inline;
                padding: 0 10px;
                background: #ffffff;
            }
            ::ng-deep .ant-tree-switcher {
                color: rgba(26, 124, 238);
            }
            .node-name {
                cursor: pointer;
                &:hover {
                    color: rgba(26, 124, 238, 0.6);
                }
            }
        }
    }

    .main-box {
        flex: 1;
    }
}

td {
    i.anticon {
        cursor: pointer;
        font-size: 18px;
    }

    & > i.anticon {
        margin-right: 12px;
        color: #1890ff;
    }

    a {
        color: #ff4d4f;
    }
}

.ant-form-item {
    nz-form-control {
        flex-grow: 1;
    }
}

.search-box {
    margin-left: 10px;
}

.main-panel {
    margin-left: 10px;
    display: flex;
    flex: 1;
    .gutter-box {
        flex: 1;
    }
    .main-grid-card {
        height: calc(100vh - 152px);
        overflow-y: auto;
        ::ng-deep .ant-card-head {
            min-height: 30px;
            .ant-card-head-title {
                padding: 10px 0;
                font-weight: bold;
            }
        }
        ::ng-deep .ant-card-body {
            padding: 10px;
        }
    }
}
.latest-item {
    margin-right: 10px;
}
.right-panel {
    margin: 10px 0 0 10px;
    width: 340px;
    height: calc(100vh - 152px);
    background: #fff;
    overflow-y: auto;
    ::ng-deep .ant-card-body {
        padding: 5px;
    }
    ::ng-deep .general-data-card {
        background: #ECECEC;
        border: none;
        margin: -10px -5px 0px;
        ::ng-deep .ant-card-body {
            background: #ECECEC;
            padding: 0;
        }
        .grid {
            display: flex;
            //margin-top: -5px;
            &:not(:first-child) {
                margin-bottom: 0;
                margin-top: 0;
                .grid-card {
                    margin-top: 10px;
                }
            }
            .grid-card {
                height: 80px;
                margin: 5px;
                width: 155px;
                flex: 1;
                padding: 5px;
                background: #fff;
                p {
                    margin: 0;
                }
                &:first-child {
                    margin-left: 0;
                }
                &:last-child {
                    margin-right: 0;
                }
                .top-box {
                    height: 46px;
                    display: flex;
                    border-bottom: 1px solid #eee;
                    .img-box {
                        width: 35px;
                        padding: 5px 0;
                        img {
                            width: 35px;
                        }
                    }
                    .main-num {
                        color: #2c5087;
                        font-size: 18px;
                        line-height: 46px;
                        font-weight: bold;
                        text-align: right;
                        flex: 1;
                        padding: 0 5px;
                    }
                }
                .bottom-box {
                    height: 24px;
                    line-height: 24px;
                    font-size: 12px;
                    text-align: right;
                }
            }
        }
    }
    //.custom-pie {
    //    width: 100%;
    //
    //}
}

